package com.cashoutgaming.shared.match;

import com.google.gwt.editor.client.Editor.Path;
import com.google.gwt.resources.client.ImageResource;
import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.ModelKeyProvider;
import com.sencha.gxt.data.shared.PropertyAccess;

public interface MatchDTOProperties extends PropertyAccess<MatchDTO> {

	@Path("id")
	ModelKeyProvider<MatchDTO> key();

	ValueProvider<MatchDTO, Long> getId();

	@Path("gameType.abrv")
	ValueProvider<MatchDTO, String> getGameType();

	@Path("gameType.icon")
	ValueProvider<MatchDTO, ImageResource> getGameIcon();

	ValueProvider<MatchDTO, String> getTeamOneName();

	ValueProvider<MatchDTO, Integer> getTeamOneWins();

	ValueProvider<MatchDTO, String> getTeamTwoName();

	ValueProvider<MatchDTO, Integer> getTeamTwoWins();

	ValueProvider<MatchDTO, String> getWager();
}
